//
//  Common.h
//  NewsReader
//
//  Created by Xiangxiang on 16/4/18.
//  Copyright © 2016年 GaoSir_. All rights reserved.
//

//-- 延时操作
@interface NSObject (PerformBlockAfterDelay)
-(void)performDelay:(NSTimeInterval)delay block:(void(^)(void))block;
@end

//-- 通知中心
@interface NSNotificationCenter (NotificationBlock)
+(void)postNotification:(NSString *)name userInfo:(NSDictionary *)userInfo;
+(void)addObserver:(NSString *)name block:(void(^)(void))block;
@end

@interface Common : NSObject
+(id)shared;
+(BOOL)isIpad;

@end
